window: Remove dead code
authorTimm Bäder <mail@baedert.org>
Sun, 7 Jun 2020 06:19:14 +0000 (08:19 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jun 2020 03:26:24 +0000 (05:26 +0200)
There is no decoration node anymore.

gtk/gtkwindow.c

index 2ca244f77cd73dfde1e1a268848213618f0aec6b..8f2778f23aae6d458e9e88e0ff5a02cf1da425d0 100644 (file)
@@ -7149,12 +7149,6 @@ gtk_window_set_child (GtkWindow *window,
 
   if (child)
     {
-      /* Insert the child's css node now at the end so the order wrt.
-       * decoration_node is correct
-       */
-      gtk_css_node_insert_before (gtk_widget_get_css_node (GTK_WIDGET (window)),
-                                  gtk_widget_get_css_node (child),
-                                  NULL);
       priv->child = child;
       gtk_widget_set_parent (child, GTK_WIDGET (window));
     }